package org.rency.ues.engine.repository;

import org.rency.ues.domain.model.DataHashDomain;

public interface DataHashRepository {
	
	public boolean save(DataHashDomain entity);
	
	public boolean delete(int id);
	
	public boolean deleteByTicket(String ticket);
	
	public boolean deleteByHash(String hash);
	
	public DataHashDomain get(int id);
	
	public DataHashDomain getByTicket(String ticket);
	
	public DataHashDomain getByHash(String hash);

}
